package com.wyw.quartz.learning.common.bean;

import lombok.Data;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Title
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * @Date 2024/3/29 17:51
 * Update History:
 * Author        Time            Content
 */
@Data
public class ModifyCronDTO {
    @NotNull(message = "the job id cannot be null")
    private Long id;

    @NotEmpty(message = "the cron cannot be empty")
    private String cron;
}
